<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sp" uri="/WEB-INF/tld/spring.tld" %>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
	<head>
		<title>黄石物流后台管理系统</title>
		<%@ include file="/jsp/common/common_script.jsp"%>
		<script type="text/javascript">
			var iSource = {
				"SYSTEM": "<sp:message code='apache.Creeper.source.system'/>", 
				"FETCH":"<sp:message code='apache.Creeper.source.fetch'/>"
			};
		</script>
		<link rel="stylesheet" type="text/css" href="${ctx }/js/lib/kindeditor/themes/default/default.css"/>
		<script src="${ctx }/js/lib/kindeditor/kindeditor-min.js"></script>
		<script src="${ctx }/js/lib/kindeditor/lang/zh_CN.js"></script>
		<script src="${ctx }/js/info/information.js"></script>
	</head>
	<body>
		<table class="queryTable" >
			<tr>
				<td class="queryTitle" width="80px">标题</td>
				<td class="queryContent">
					<input class="inputText" type="text" id="queryTitleId"/>
				</td>
				<td class="queryTitle" width="80px">所属分类</td>
				<td class="queryContent">
					<select id="inputCategoryId" name="inputCategoryId" class="easyui-combobox" style="width: 150px;" panelHeight="auto" editable="false">
					</select>
				</td>
				<td class="queryBtnTd">
					<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="doQuery()">查询</a>
				</td>
			</tr>
		</table>
		
		<table id="infoGrid" ></table>
		
		<div id="addInfoDlg" class="easyui-window" closed="true" title="" iconCls="icon-add" style="width:790px; height:520px;text-align:center; background: #fafafa;">
			<div class="easyui-layout" fit="true">
				<div region="center" border="false" style="background:#fff;border:1px solid #ccc;padding-left: 20px;">
					<form id="addInfoForm"  method="post">
						<table border="0" class="queryTable" width="742px" height="400px" style="margin-bottom: 0px">
							<tr style="height: 40px;">
								<td class="queryTitle" style="width: 100px;">标题：</td>
								<td class="queryContent">
									<input type="hidden" name="informationId"/>
									<input type="hidden" id="submitType" />
									<input type="text" id="title" name="title" class="inputText easyui-validatebox" style="width: 300px;" required="true" validType="maxLength[100]" maxlength="100" />
								</td>
							</tr>
							<tr style="height: 40px;">
								<td class="queryTitle">所属分类：</td>
								<td class="queryContent">
									<select id="categoryId" name="categoryId" class="easyui-combobox" style="width: 300px;" panelHeight="auto" editable="false" required="true">
									</select>
								</td>
							</tr>
							<tr>
								<td class="queryTitle">内容：</td>
								<td class="queryContent">
									<textarea id="contentHtml" name="contentHtml" rows="10" cols="5" style="width:620px; height:315px;" required="true"></textarea>
								</td>
							</tr>
						</table>
					</form>
				</div>
				<div region="south" border="false" style="text-align:center;height:30px;line-height:30px;">
					<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doPostData()">确定</a>
					<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="closeWindow()">取消</a>
				</div>
			</div>
		</div>
	</body>
</html>
